package com.example.provider.controller;

import com.example.provider.services.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    private TestService service;
    @RequestMapping("/test")
    public String test(){
        return service.test();
    }
    @RequestMapping("/testGet")
    public String testGet(){
        return service.testGet();
    }
}
